package com.jy.adscm.wechat.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.wechat.bean.WechatMaterialDetail;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-09-30
 */
public interface WechatMaterialDetailService extends IService<WechatMaterialDetail> {

    Boolean insertWechatMaterialDetail(WechatMaterialDetail wechatMaterialDetail, String openid) throws AdscmSystemException;

    List<WechatMaterialDetail> selectByPid(Long pid);

    WechatMaterialDetail  selectWechatMaterialDetailById(Long id);
}
